<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>Document</title>
    </head>
    <body></body>
    <script>
        let map = new WeakMap();
        let hd = {};
        map.set(hd, 'hdcms');
        hd = null;
        console.log(map);

        setTimeout(() => {
            console.log(map);
        }, 2000);
    </script>
</html>
